package com.tms.springboot.aggregation.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 运单表
 * </p>
 *
 * @author cjj
 * @since 2023-06-14
 */
@Getter
@Setter
@TableName("pd_transport_order")
public class PdTransportOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId("id")
    private String id;

    /**
     * 订单ID
     */
    @TableField("order_id")
    private String orderId;

    /**
     * 运单状态(1.新建 2.已装车 3.到达 4.到达终端网点 5.已签收 6.拒收)
     */
    @TableField("status")
    private Integer status;

    /**
     * 调度状态(1.待调度2.未匹配线路3.已调度)
     */
    @TableField("scheduling_status")
    private Integer schedulingStatus;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;


}
